package org.example.exception;

import lombok.Getter;

/**
 *  异常枚举
**/
@Getter
public enum  BusinessExceptionEnum {
    SERVER_ERROR( "异常500"),

    NO_STOCK("库存数量不足");

    private final String message;

    BusinessExceptionEnum( String message) {
        this.message = message;
    }

}

